package com.yugu.park.security.service;

import java.util.List;
import java.util.Set;

import org.springframework.transaction.annotation.Transactional;

import com.yugu.park.security.entity.TSysMenu;
import com.yugu.park.security.entity.TSysUser;

/**
 * 
 *
 * @author guxf
 * @email sjzyug@163.com
 * @date 2023-08-15 09:10:43
 */
@Transactional
public interface TSysUserService{
	TSysUser selectUserByUserName(String username);
	/**
	 * 登陆
	 * @param username
	 * @param password
	 * @param uuid
	 * @return
	 */
	String login(String username, String password, String uuid);
	/**
	 * 查询当前用户所有权限
	 * @return
	 */
	Set<String> getUserPermission();
	List<TSysMenu> getRouters();
}

